﻿using PeiYue.Common.Helper;
using System;
using System.Collections.Generic;
using System.Text;

namespace PeiYue.Model.Dto
{
    public class BaseResponseDto
    {
        /// <summary>
        /// id
        /// </summary>
        public long id { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 状态名称
        /// </summary>
        public string status_names { get { return EnumHelper.GetEnumDesc<CommonEnum.Status>(status); } }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string create_time { get; set; }

        public long create_user { get; set; }
        public long update_user { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string create_names { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public string update_time { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string update_names { get; set; }
    }

}
